package com.gg.user.gguser.service.impl;

import com.gg.user.gguser.dao.GgDeletcInformationDaoMapper;
import com.gg.user.gguser.service.GgDeletcInformationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GgDeletcInformationServiceImpl implements GgDeletcInformationService {

    @Autowired
    private GgDeletcInformationDaoMapper ggDeletcInformationDaoMapper;

    @Override
    public boolean addDeletcInformationService(String ggItemsToken, String ggBoName, String ggBoProvince, String ggBoCity, String ggBoDetailed, String ggBoHandle, String ggBoContact, Integer ggBoState, Integer ggBoLevel, String ggBoGender, String ggBoPosition, String ggBoTelephone, String ggBoFax, String ggBoMailbox, String ggBoQq, String ggBoWechat, String ggBoRemarks, String ggId, String ggIdUser, String ggITime, String ggDiName, String ggBoAreaid, String ggBoZipcode, String ggBoWebsite, String ggBoSource) {
        try {
            ggDeletcInformationDaoMapper.addDeletcInformationService(ggItemsToken, ggBoName, ggBoProvince, ggBoCity, ggBoDetailed, ggBoHandle, ggBoContact, ggBoState, ggBoLevel, ggBoGender, ggBoPosition, ggBoTelephone, ggBoFax, ggBoMailbox, ggBoQq, ggBoWechat, ggBoRemarks, ggId, ggIdUser, ggITime, ggDiName, ggBoAreaid, ggBoZipcode, ggBoWebsite, ggBoSource);
            return true;
        }catch (Exception e){
            return false;
        }
    }
}
